package com.pactera.asmp.server.service;

import com.pactera.asmp.server.entity.MasterCanDto;

/**
 * @ProjectName: server
 * @Package com.pactera.asmp.server.service
 * @ClassName: ICanInfoService
 * @Description: ICanInfoService
 * @Date 2020/06/28 16:49
 * @Author lvzhiqiang
 * @Version 1.0
 */
public interface ICanInfoService {
    /**
     * 绑定
     * @param masterCanDto
     * @return 返回影响的行数
     */
    int push(MasterCanDto masterCanDto);

    /**
     * 心跳续约
     * @param masterCanDto
     * @return
     */
    int heartBeat(MasterCanDto masterCanDto);
}
